package com.blog.service;

import com.blog.entity.Article;
import com.blog.vo.PageVo;

public interface IArticleService {

	/**
	 * 用户文章分页动态查询
	 * @param typeId
	 * @param title
	 * @param pageNum
	 * @param pageSize
	 * @param username
	 * @return
	 */
	public PageVo findPage(String typeId,String title,Integer pageNum, Integer pageSize,String username);
	
	/**
	 * 保存发表的文章
	 * @param article
	 * @return
	 */
	public int save(Article article);
}
